package com.tanhua.server.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

public enum NameEnum implements IEnum {
    simpleName(1,"初级灵魂题"),
    secondaryName(2,"中级灵魂题"),
    topName(3,"高级灵魂题")
    ;

    private int value;
    private String name;

    public String getName(){
        return name;
    }

    NameEnum(int value,String name){
        this.value=value;
        this.name=name;
    }

    @Override
    public Serializable getValue() {
        return value;
    }
}
